/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.edu.entity.order;

import com.idenger.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 订单邮寄信息Entity
 * @author 兰正军
 * @version 2017-12-21
 */
public class EduOrderDetails extends DataEntity<EduOrderDetails> {
	
	private static final long serialVersionUID = 1L;
	private String orderId;		// 订单id
	private String invoicestatus;		// 是否开具发票
	private String invoicetype;		// 抬头类型
	private String invoicecompanyname;		// 抬头名称
	private String dutyparagraph;		// 税号
	private String isMail;		// 是否需要邮寄
	private String addressee;		// 收件人姓名
	private String contactMethod;		// 联系方式
	private String province;		// 省
	private String city;		// 市
	private String county;		// 区
	private String detailedaddress;		// 详细地址
	
	public EduOrderDetails() {
		super();
	}

	public EduOrderDetails(String id){
		super(id);
	}

	@Length(min=0, max=64, message="订单id长度必须介于 0 和 64 之间")
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	@Length(min=0, max=10, message="是否开具发票长度必须介于 0 和 10 之间")
	public String getInvoicestatus() {
		return invoicestatus;
	}

	public void setInvoicestatus(String invoicestatus) {
		this.invoicestatus = invoicestatus;
	}
	
	@Length(min=0, max=512, message="抬头类型长度必须介于 0 和 512 之间")
	public String getInvoicetype() {
		return invoicetype;
	}

	public void setInvoicetype(String invoicetype) {
		this.invoicetype = invoicetype;
	}
	
	@Length(min=0, max=512, message="抬头名称长度必须介于 0 和 512 之间")
	public String getInvoicecompanyname() {
		return invoicecompanyname;
	}

	public void setInvoicecompanyname(String invoicecompanyname) {
		this.invoicecompanyname = invoicecompanyname;
	}
	
	@Length(min=0, max=512, message="税号长度必须介于 0 和 512 之间")
	public String getDutyparagraph() {
		return dutyparagraph;
	}

	public void setDutyparagraph(String dutyparagraph) {
		this.dutyparagraph = dutyparagraph;
	}
	
	@Length(min=0, max=64, message="是否需要邮寄长度必须介于 0 和 64 之间")
	public String getIsMail() {
		return isMail;
	}

	public void setIsMail(String isMail) {
		this.isMail = isMail;
	}
	
	@Length(min=0, max=512, message="收件人姓名长度必须介于 0 和 512 之间")
	public String getAddressee() {
		return addressee;
	}

	public void setAddressee(String addressee) {
		this.addressee = addressee;
	}
	
	@Length(min=0, max=64, message="联系方式长度必须介于 0 和 64 之间")
	public String getContactMethod() {
		return contactMethod;
	}

	public void setContactMethod(String contactMethod) {
		this.contactMethod = contactMethod;
	}
	
	@Length(min=0, max=512, message="省长度必须介于 0 和 512 之间")
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}
	
	@Length(min=0, max=512, message="市长度必须介于 0 和 512 之间")
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
	
	@Length(min=0, max=512, message="区长度必须介于 0 和 512 之间")
	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}
	
	@Length(min=0, max=1024, message="详细地址长度必须介于 0 和 1024 之间")
	public String getDetailedaddress() {
		return detailedaddress;
	}

	public void setDetailedaddress(String detailedaddress) {
		this.detailedaddress = detailedaddress;
	}

	
}